package com.zone.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 物品管理对象 zone_supplies
 * 
 * @author zone
 * @date 2025-10-25
 */
public class Supplies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String name;

    /** 物品编号 */
    @Excel(name = "物品编号")
    private String seqno;

    /** 耗材类型 */
    @Excel(name = "耗材类型")
    private Long useType;

    /** 是否序列耗材 */
    @Excel(name = "是否序列耗材")
    private Long isSerial;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long inventory;

    /** 耗材库存最低量 */
    @Excel(name = "耗材库存最低量")
    private Long inventoryMin;

    /** 删除标志 */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSeqno(String seqno) 
    {
        this.seqno = seqno;
    }

    public String getSeqno() 
    {
        return seqno;
    }

    public void setUseType(Long useType) 
    {
        this.useType = useType;
    }

    public Long getUseType() 
    {
        return useType;
    }

    public void setIsSerial(Long isSerial) 
    {
        this.isSerial = isSerial;
    }

    public Long getIsSerial() 
    {
        return isSerial;
    }

    public void setInventory(Long inventory) 
    {
        this.inventory = inventory;
    }

    public Long getInventory() 
    {
        return inventory;
    }

    public void setInventoryMin(Long inventoryMin) 
    {
        this.inventoryMin = inventoryMin;
    }

    public Long getInventoryMin() 
    {
        return inventoryMin;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("seqno", getSeqno())
            .append("useType", getUseType())
            .append("isSerial", getIsSerial())
            .append("inventory", getInventory())
            .append("inventoryMin", getInventoryMin())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("deleted", getDeleted())
            .toString();
    }
}
